//
//  ContactModel.h
//  WeCommunity
//
//  Created by mac on 2017/6/15.
//  Copyright © 2017年 lzy. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface ContactModel : NSObject

@property (nonatomic,strong) NSString * userName;        //用户名

@property (nonatomic,strong) NSString * password;        //用户密码

@property (nonatomic,strong) NSString * sessionToken;    //token

@property (nonatomic,strong) NSString * objectId;

@property (nonatomic,assign) BOOL  userIsAdmin;

@property (nonatomic,strong) NSString * nickName;        //用户昵称

@property (nonatomic,strong) NSString * headImage;       //头像

@property (nonatomic,strong) NSString * WXUserName;      //微信号

@property (nonatomic,strong) NSString * sex;      //0 未知 1：男 2：女

@property (nonatomic,strong) NSString * sexString;

@property (nonatomic,strong) NSNumber * coins; //积分

@property (nonatomic,strong) NSNumber * usedCoins; //已使用的积分

@property (nonatomic,assign) NSInteger  userVipLevel; //用户等级

@property (nonatomic,strong) NSString * userVipLevelStr; //用户等级

@property (nonatomic,strong) UIImage *  userVipLevelImage;



+(ContactModel *)setValueFormObject:(id)object;

@end
